package com.ruoyi.web.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 *  * @author zp
 *  * @date 2022年03月15日 21:54
 *  
 */
@Entity
@Data
@Table(name = "class_user")
public class ClassUser {
    @Id
    @Column(name="id")
    private Integer id;
    @Column(name="user_id")
    private Integer userId;
    private String userName;
    @Column(name="class_id")
    private Integer classId;
    private String className;

    @Column(name="creat_time")
    private Date creatTime;
    @Column(name="update_time")
    private Date updateTime;
    @Column(name="status")
    private Integer status;
    @Column(name= "price")
    private Long price;
    @Column(name= "all_price")
    private String allPrice;

    public String getAllPrice() {
        return allPrice;
    }

    public void setAllPrice(String allPrice) {
        this.allPrice = allPrice;
    }
}
